namespace DotNetNuke.Entities.Portals
{
    using System;
    using System.Collections;
    using System.Reflection;

    public class PortalAliasCollection : DictionaryBase
    {
        public void Add(string key, PortalAliasInfo value)
        {
            this.Dictionary.Add(key, value);
        }

        public bool Contains(string key)
        {
            return this.Dictionary.Contains(key);
        }

        public bool HasKeys
        {
            get
            {
                return (this.Dictionary.Keys.Count > 0);
            }
        }

        public PortalAliasInfo this[string key]
        {
            get
            {
                return (PortalAliasInfo) this.Dictionary[key];
            }
            set
            {
                this.Dictionary[key] = value;
            }
        }

        public ICollection Keys
        {
            get
            {
                return this.Dictionary.Keys;
            }
        }
    }
}

